hasSerial

The part of the config that is specific to the Serial module

.meshtastic.ModuleConfig.SerialConfig serial = 2;

Return

Whether the serial field is set.